import { request } from '../../../request';
/** 获取验孔机型下拉 getPcbTypeSelect */
// http://192.168.166.166/dev-api/vcp/ReadHole/selectAllMachineId
export function getPcbTypeSelect(params: any) {
  return request({
    url: '/vcp/ReadHole/selectAllMachineId',
    method: 'GET',
    params
  });
}

/** 获取层数下拉 getLayerSelect */
// /mes/plan/monthlyCapacityTarget/layer
export function getLayerSelect(params: any) {
  return request({
    url: '/mes/plan/monthlyCapacityTarget/layer',
    method: 'GET',
    params
  });
}

/** 获取下拉产能总计 getLayerSelectadd */
// /mes/plan/monthlyCapacityTarget/layer
export function getLayerSelectadd(params: any) {
  console.log('params', params);

  return request({
    url: '/mes/plan/monthlyCapacityTarget/sum',
    method: 'GET',
    params
  });
}
